package com.sdry.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sdry.common.BaseEntity;
import com.sdry.common.BaseEntity2;
import lombok.Data;


/**
 * @version: 1.0
 * @description: 角色
 * @author: cb
 * @create: 2019-12-16 15:36
 **/
@Data
@TableName(value = "sys_role")
public class SysRole extends BaseEntity2 {

    /**id*/
    @TableId(type = IdType.AUTO)
    private Long roleId;

    /**名称*/
    private String roleName;

    /**备注*/
    private String remark;

    /**比较是否选中角色**/
    @TableField(exist = false)
    private boolean selection;

}
